﻿using MDPM.Foundation.SpecificationsForEntityModel;
using System;
using System.Collections.Generic;
using System.Text;

namespace MDPM.EntitiyModels.BusinessOrganization
{
    /// <summary>
    /// 员工与部门的多对多关系
    /// </summary>
    public class OrganizationDepartmentWithOrganizationDepartmentEmployee : EntityBase
    {
        /// <summary>
        /// 部门
        /// </summary>
        public OrganizationDepartment OrganizationDepartment { get; set; }
        /// <summary>
        /// 员工
        /// </summary>
        public OrganizationDepartmentEmployee OrganizationDepartmentEmployee { get; set; }

        public OrganizationDepartmentWithOrganizationDepartmentEmployee()
        {
            this.Id = Guid.NewGuid();
        }
    }
}
